import { IpcWindow } from "@/util/IpcWindow/IpcWindow";
import { WindowName } from "@/mdesign-lib/mdesign-main.js";

export interface Params {
  projectId: string;
  projectFilePath?: string;
  projectName?: string;
  exportZip?: boolean;
}

export interface CloseData {
  success: boolean;
  info?: any;
}

export const UploadFor201Window = new IpcWindow<Params, CloseData>(WindowName.UploadFor201Window);
export const DownloadFor201Window = new IpcWindow<Params, CloseData>(WindowName.DownloadFor201Window);
